Integrand size = 21, antiderivative size = 844 \[ \int \frac {a+b \text {sech}^{-1}(c x)}{x^2 \left (d+e x^2\right )^2} \, dx=\frac {b c \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}}}{d^2}-\frac {a}{d^2 x}-\frac {b \text {sech}^{-1}(c x)}{d^2 x}+\frac {e \left (a+b \text {sech}^{-1}(c x)\right )}{4 d^2 \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}-\frac {e \left (a+b \text {sech}^{-1}(c x)\right )}{4 d^2 \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}-\frac {b e \arctan \left (\frac {\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {-1+\frac {1}{c x}}}\right )}{2 d^2 \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}-\frac {b e \arctan \left (\frac {\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {-1+\frac {1}{c x}}}\right )}{2 d^2 \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}-\frac {3 \sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{5/2}}+\frac {3 \sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{5/2}}-\frac {3 \sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 (-d)^{5/2}}+\frac {3 \sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 (-d)^{5/2}}+\frac {3 b \sqrt {e} \operatorname {PolyLog}\left (2,-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{5/2}}-\frac {3 b \sqrt {e} \operatorname {PolyLog}\left (2,\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{5/2}}+\frac {3 b \sqrt {e} \operatorname {PolyLog}\left (2,-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 (-d)^{5/2}}-\frac {3 b \sqrt {e} \operatorname {PolyLog}\left (2,\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 (-d)^{5/2}} \]
[Out]
Time = 1.78 (sec) , antiderivative size = 844, normalized size of antiderivative = 1.00, number of steps used = 50, number of rules used = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.619, Rules used = {6438, 5959, 5879, 75, 5909, 5963, 95, 211, 5962, 5681, 2221, 2317, 2438} \[ \int \frac {a+b \text {sech}^{-1}(c x)}{x^2 \left (d+e x^2\right )^2} \, dx=-\frac {a}{d^2 x}-\frac {b \text {sech}^{-1}(c x)}{d^2 x}+\frac {e \left (a+b \text {sech}^{-1}(c x)\right )}{4 d^2 \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}-\frac {e \left (a+b \text {sech}^{-1}(c x)\right )}{4 d^2 \left (\frac {d}{x}+\sqrt {-d} \sqrt {e}\right )}-\frac {b e \arctan \left (\frac {\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {\frac {1}{c x}-1}}\right )}{2 d^2 \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}-\frac {b e \arctan \left (\frac {\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {\frac {1}{c x}-1}}\right )}{2 d^2 \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}-\frac {3 \sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {d c^2+e}}\right )}{4 (-d)^{5/2}}+\frac {3 \sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (\frac {\sqrt {-d} e^{\text {sech}^{-1}(c x)} c}{\sqrt {e}-\sqrt {d c^2+e}}+1\right )}{4 (-d)^{5/2}}-\frac {3 \sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {d c^2+e}}\right )}{4 (-d)^{5/2}}+\frac {3 \sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (\frac {\sqrt {-d} e^{\text {sech}^{-1}(c x)} c}{\sqrt {e}+\sqrt {d c^2+e}}+1\right )}{4 (-d)^{5/2}}+\frac {3 b \sqrt {e} \operatorname {PolyLog}\left (2,-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {d c^2+e}}\right )}{4 (-d)^{5/2}}-\frac {3 b \sqrt {e} \operatorname {PolyLog}\left (2,\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {d c^2+e}}\right )}{4 (-d)^{5/2}}+\frac {3 b \sqrt {e} \operatorname {PolyLog}\left (2,-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {d c^2+e}}\right )}{4 (-d)^{5/2}}-\frac {3 b \sqrt {e} \operatorname {PolyLog}\left (2,\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {d c^2+e}}\right )}{4 (-d)^{5/2}}+\frac {b c \sqrt {\frac {1}{c x}-1} \sqrt {1+\frac {1}{c x}}}{d^2} \]
[In]
[Out]
Rule 75
Rule 95
Rule 211
Rule 2221
Rule 2317
Rule 2438
Rule 5681
Rule 5879
Rule 5909
Rule 5959
Rule 5962
Rule 5963
Rule 6438
Rubi steps \begin{align*} \text {integral}& = -\text {Subst}\left (\int \frac {x^4 \left (a+b \text {arccosh}\left (\frac {x}{c}\right )\right )}{\left (e+d x^2\right )^2} \, dx,x,\frac {1}{x}\right ) \\ & = -\text {Subst}\left (\int \left (\frac {a+b \text {arccosh}\left (\frac {x}{c}\right )}{d^2}+\frac {e^2 \left (a+b \text {arccosh}\left (\frac {x}{c}\right )\right )}{d^2 \left (e+d x^2\right )^2}-\frac {2 e \left (a+b \text {arccosh}\left (\frac {x}{c}\right )\right )}{d^2 \left (e+d x^2\right )}\right ) \, dx,x,\frac {1}{x}\right ) \\ & = -\frac {\text {Subst}\left (\int \left (a+b \text {arccosh}\left (\frac {x}{c}\right )\right ) \, dx,x,\frac {1}{x}\right )}{d^2}+\frac {(2 e) \text {Subst}\left (\int \frac {a+b \text {arccosh}\left (\frac {x}{c}\right )}{e+d x^2} \, dx,x,\frac {1}{x}\right )}{d^2}-\frac {e^2 \text {Subst}\left (\int \frac {a+b \text {arccosh}\left (\frac {x}{c}\right )}{\left (e+d x^2\right )^2} \, dx,x,\frac {1}{x}\right )}{d^2} \\ & = -\frac {a}{d^2 x}-\frac {b \text {Subst}\left (\int \text {arccosh}\left (\frac {x}{c}\right ) \, dx,x,\frac {1}{x}\right )}{d^2}+\frac {(2 e) \text {Subst}\left (\int \left (\frac {a+b \text {arccosh}\left (\frac {x}{c}\right )}{2 \sqrt {e} \left (\sqrt {e}-\sqrt {-d} x\right )}+\frac {a+b \text {arccosh}\left (\frac {x}{c}\right )}{2 \sqrt {e} \left (\sqrt {e}+\sqrt {-d} x\right )}\right ) \, dx,x,\frac {1}{x}\right )}{d^2}-\frac {e^2 \text {Subst}\left (\int \left (-\frac {d \left (a+b \text {arccosh}\left (\frac {x}{c}\right )\right )}{4 e \left (\sqrt {-d} \sqrt {e}-d x\right )^2}-\frac {d \left (a+b \text {arccosh}\left (\frac {x}{c}\right )\right )}{4 e \left (\sqrt {-d} \sqrt {e}+d x\right )^2}-\frac {d \left (a+b \text {arccosh}\left (\frac {x}{c}\right )\right )}{2 e \left (-d e-d^2 x^2\right )}\right ) \, dx,x,\frac {1}{x}\right )}{d^2} \\ & = -\frac {a}{d^2 x}-\frac {b \text {sech}^{-1}(c x)}{d^2 x}+\frac {b \text {Subst}\left (\int \frac {x}{\sqrt {-1+\frac {x}{c}} \sqrt {1+\frac {x}{c}}} \, dx,x,\frac {1}{x}\right )}{c d^2}+\frac {\sqrt {e} \text {Subst}\left (\int \frac {a+b \text {arccosh}\left (\frac {x}{c}\right )}{\sqrt {e}-\sqrt {-d} x} \, dx,x,\frac {1}{x}\right )}{d^2}+\frac {\sqrt {e} \text {Subst}\left (\int \frac {a+b \text {arccosh}\left (\frac {x}{c}\right )}{\sqrt {e}+\sqrt {-d} x} \, dx,x,\frac {1}{x}\right )}{d^2}+\frac {e \text {Subst}\left (\int \frac {a+b \text {arccosh}\left (\frac {x}{c}\right )}{\left (\sqrt {-d} \sqrt {e}-d x\right )^2} \, dx,x,\frac {1}{x}\right )}{4 d}+\frac {e \text {Subst}\left (\int \frac {a+b \text {arccosh}\left (\frac {x}{c}\right )}{\left (\sqrt {-d} \sqrt {e}+d x\right )^2} \, dx,x,\frac {1}{x}\right )}{4 d}+\frac {e \text {Subst}\left (\int \frac {a+b \text {arccosh}\left (\frac {x}{c}\right )}{-d e-d^2 x^2} \, dx,x,\frac {1}{x}\right )}{2 d} \\ & = \frac {b c \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}}}{d^2}-\frac {a}{d^2 x}-\frac {b \text {sech}^{-1}(c x)}{d^2 x}+\frac {e \left (a+b \text {sech}^{-1}(c x)\right )}{4 d^2 \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}-\frac {e \left (a+b \text {sech}^{-1}(c x)\right )}{4 d^2 \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}+\frac {\sqrt {e} \text {Subst}\left (\int \frac {(a+b x) \sinh (x)}{\frac {\sqrt {e}}{c}-\sqrt {-d} \cosh (x)} \, dx,x,\text {sech}^{-1}(c x)\right )}{d^2}+\frac {\sqrt {e} \text {Subst}\left (\int \frac {(a+b x) \sinh (x)}{\frac {\sqrt {e}}{c}+\sqrt {-d} \cosh (x)} \, dx,x,\text {sech}^{-1}(c x)\right )}{d^2}-\frac {(b e) \text {Subst}\left (\int \frac {1}{\sqrt {-1+\frac {x}{c}} \sqrt {1+\frac {x}{c}} \left (\sqrt {-d} \sqrt {e}-d x\right )} \, dx,x,\frac {1}{x}\right )}{4 c d^2}+\frac {(b e) \text {Subst}\left (\int \frac {1}{\sqrt {-1+\frac {x}{c}} \sqrt {1+\frac {x}{c}} \left (\sqrt {-d} \sqrt {e}+d x\right )} \, dx,x,\frac {1}{x}\right )}{4 c d^2}+\frac {e \text {Subst}\left (\int \left (-\frac {a+b \text {arccosh}\left (\frac {x}{c}\right )}{2 d \sqrt {e} \left (\sqrt {e}-\sqrt {-d} x\right )}-\frac {a+b \text {arccosh}\left (\frac {x}{c}\right )}{2 d \sqrt {e} \left (\sqrt {e}+\sqrt {-d} x\right )}\right ) \, dx,x,\frac {1}{x}\right )}{2 d} \\ & = \frac {b c \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}}}{d^2}-\frac {a}{d^2 x}-\frac {b \text {sech}^{-1}(c x)}{d^2 x}+\frac {e \left (a+b \text {sech}^{-1}(c x)\right )}{4 d^2 \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}-\frac {e \left (a+b \text {sech}^{-1}(c x)\right )}{4 d^2 \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}-\frac {\sqrt {e} \text {Subst}\left (\int \frac {a+b \text {arccosh}\left (\frac {x}{c}\right )}{\sqrt {e}-\sqrt {-d} x} \, dx,x,\frac {1}{x}\right )}{4 d^2}-\frac {\sqrt {e} \text {Subst}\left (\int \frac {a+b \text {arccosh}\left (\frac {x}{c}\right )}{\sqrt {e}+\sqrt {-d} x} \, dx,x,\frac {1}{x}\right )}{4 d^2}+\frac {\sqrt {e} \text {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}-\sqrt {-d} e^x} \, dx,x,\text {sech}^{-1}(c x)\right )}{d^2}+\frac {\sqrt {e} \text {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}-\sqrt {-d} e^x} \, dx,x,\text {sech}^{-1}(c x)\right )}{d^2}+\frac {\sqrt {e} \text {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}+\sqrt {-d} e^x} \, dx,x,\text {sech}^{-1}(c x)\right )}{d^2}+\frac {\sqrt {e} \text {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}+\sqrt {-d} e^x} \, dx,x,\text {sech}^{-1}(c x)\right )}{d^2}-\frac {(b e) \text {Subst}\left (\int \frac {1}{d+\frac {\sqrt {-d} \sqrt {e}}{c}-\left (-d+\frac {\sqrt {-d} \sqrt {e}}{c}\right ) x^2} \, dx,x,\frac {\sqrt {1+\frac {1}{c x}}}{\sqrt {-1+\frac {1}{c x}}}\right )}{2 c d^2}+\frac {(b e) \text {Subst}\left (\int \frac {1}{-d+\frac {\sqrt {-d} \sqrt {e}}{c}-\left (d+\frac {\sqrt {-d} \sqrt {e}}{c}\right ) x^2} \, dx,x,\frac {\sqrt {1+\frac {1}{c x}}}{\sqrt {-1+\frac {1}{c x}}}\right )}{2 c d^2} \\ & = \frac {b c \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}}}{d^2}-\frac {a}{d^2 x}-\frac {b \text {sech}^{-1}(c x)}{d^2 x}+\frac {e \left (a+b \text {sech}^{-1}(c x)\right )}{4 d^2 \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}-\frac {e \left (a+b \text {sech}^{-1}(c x)\right )}{4 d^2 \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}-\frac {b e \arctan \left (\frac {\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {-1+\frac {1}{c x}}}\right )}{2 d^2 \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}-\frac {b e \arctan \left (\frac {\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {-1+\frac {1}{c x}}}\right )}{2 d^2 \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}-\frac {\sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{(-d)^{5/2}}+\frac {\sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{(-d)^{5/2}}-\frac {\sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{(-d)^{5/2}}+\frac {\sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{(-d)^{5/2}}+\frac {\left (b \sqrt {e}\right ) \text {Subst}\left (\int \log \left (1-\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{(-d)^{5/2}}-\frac {\left (b \sqrt {e}\right ) \text {Subst}\left (\int \log \left (1+\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{(-d)^{5/2}}+\frac {\left (b \sqrt {e}\right ) \text {Subst}\left (\int \log \left (1-\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{(-d)^{5/2}}-\frac {\left (b \sqrt {e}\right ) \text {Subst}\left (\int \log \left (1+\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{(-d)^{5/2}}-\frac {\sqrt {e} \text {Subst}\left (\int \frac {(a+b x) \sinh (x)}{\frac {\sqrt {e}}{c}-\sqrt {-d} \cosh (x)} \, dx,x,\text {sech}^{-1}(c x)\right )}{4 d^2}-\frac {\sqrt {e} \text {Subst}\left (\int \frac {(a+b x) \sinh (x)}{\frac {\sqrt {e}}{c}+\sqrt {-d} \cosh (x)} \, dx,x,\text {sech}^{-1}(c x)\right )}{4 d^2} \\ & = \frac {b c \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}}}{d^2}-\frac {a}{d^2 x}-\frac {b \text {sech}^{-1}(c x)}{d^2 x}+\frac {e \left (a+b \text {sech}^{-1}(c x)\right )}{4 d^2 \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}-\frac {e \left (a+b \text {sech}^{-1}(c x)\right )}{4 d^2 \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}-\frac {b e \arctan \left (\frac {\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {-1+\frac {1}{c x}}}\right )}{2 d^2 \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}-\frac {b e \arctan \left (\frac {\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {-1+\frac {1}{c x}}}\right )}{2 d^2 \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}-\frac {\sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{(-d)^{5/2}}+\frac {\sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{(-d)^{5/2}}-\frac {\sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{(-d)^{5/2}}+\frac {\sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{(-d)^{5/2}}+\frac {\left (b \sqrt {e}\right ) \text {Subst}\left (\int \frac {\log \left (1-\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{(-d)^{5/2}}-\frac {\left (b \sqrt {e}\right ) \text {Subst}\left (\int \frac {\log \left (1+\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{(-d)^{5/2}}+\frac {\left (b \sqrt {e}\right ) \text {Subst}\left (\int \frac {\log \left (1-\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{(-d)^{5/2}}-\frac {\left (b \sqrt {e}\right ) \text {Subst}\left (\int \frac {\log \left (1+\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{(-d)^{5/2}}-\frac {\sqrt {e} \text {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}-\sqrt {-d} e^x} \, dx,x,\text {sech}^{-1}(c x)\right )}{4 d^2}-\frac {\sqrt {e} \text {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}-\sqrt {-d} e^x} \, dx,x,\text {sech}^{-1}(c x)\right )}{4 d^2}-\frac {\sqrt {e} \text {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}+\sqrt {-d} e^x} \, dx,x,\text {sech}^{-1}(c x)\right )}{4 d^2}-\frac {\sqrt {e} \text {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}+\sqrt {-d} e^x} \, dx,x,\text {sech}^{-1}(c x)\right )}{4 d^2} \\ & = \frac {b c \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}}}{d^2}-\frac {a}{d^2 x}-\frac {b \text {sech}^{-1}(c x)}{d^2 x}+\frac {e \left (a+b \text {sech}^{-1}(c x)\right )}{4 d^2 \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}-\frac {e \left (a+b \text {sech}^{-1}(c x)\right )}{4 d^2 \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}-\frac {b e \arctan \left (\frac {\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {-1+\frac {1}{c x}}}\right )}{2 d^2 \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}-\frac {b e \arctan \left (\frac {\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {-1+\frac {1}{c x}}}\right )}{2 d^2 \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}-\frac {3 \sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{5/2}}+\frac {3 \sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{5/2}}-\frac {3 \sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 (-d)^{5/2}}+\frac {3 \sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 (-d)^{5/2}}+\frac {b \sqrt {e} \operatorname {PolyLog}\left (2,-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{(-d)^{5/2}}-\frac {b \sqrt {e} \operatorname {PolyLog}\left (2,\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{(-d)^{5/2}}+\frac {b \sqrt {e} \operatorname {PolyLog}\left (2,-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{(-d)^{5/2}}-\frac {b \sqrt {e} \operatorname {PolyLog}\left (2,\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{(-d)^{5/2}}-\frac {\left (b \sqrt {e}\right ) \text {Subst}\left (\int \log \left (1-\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{4 (-d)^{5/2}}+\frac {\left (b \sqrt {e}\right ) \text {Subst}\left (\int \log \left (1+\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{4 (-d)^{5/2}}-\frac {\left (b \sqrt {e}\right ) \text {Subst}\left (\int \log \left (1-\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{4 (-d)^{5/2}}+\frac {\left (b \sqrt {e}\right ) \text {Subst}\left (\int \log \left (1+\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{4 (-d)^{5/2}} \\ & = \frac {b c \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}}}{d^2}-\frac {a}{d^2 x}-\frac {b \text {sech}^{-1}(c x)}{d^2 x}+\frac {e \left (a+b \text {sech}^{-1}(c x)\right )}{4 d^2 \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}-\frac {e \left (a+b \text {sech}^{-1}(c x)\right )}{4 d^2 \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}-\frac {b e \arctan \left (\frac {\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {-1+\frac {1}{c x}}}\right )}{2 d^2 \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}-\frac {b e \arctan \left (\frac {\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {-1+\frac {1}{c x}}}\right )}{2 d^2 \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}-\frac {3 \sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{5/2}}+\frac {3 \sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{5/2}}-\frac {3 \sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 (-d)^{5/2}}+\frac {3 \sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 (-d)^{5/2}}+\frac {b \sqrt {e} \operatorname {PolyLog}\left (2,-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{(-d)^{5/2}}-\frac {b \sqrt {e} \operatorname {PolyLog}\left (2,\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{(-d)^{5/2}}+\frac {b \sqrt {e} \operatorname {PolyLog}\left (2,-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{(-d)^{5/2}}-\frac {b \sqrt {e} \operatorname {PolyLog}\left (2,\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{(-d)^{5/2}}-\frac {\left (b \sqrt {e}\right ) \text {Subst}\left (\int \frac {\log \left (1-\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{4 (-d)^{5/2}}+\frac {\left (b \sqrt {e}\right ) \text {Subst}\left (\int \frac {\log \left (1+\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{4 (-d)^{5/2}}-\frac {\left (b \sqrt {e}\right ) \text {Subst}\left (\int \frac {\log \left (1-\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{4 (-d)^{5/2}}+\frac {\left (b \sqrt {e}\right ) \text {Subst}\left (\int \frac {\log \left (1+\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{4 (-d)^{5/2}} \\ & = \frac {b c \sqrt {-1+\frac {1}{c x}} \sqrt {1+\frac {1}{c x}}}{d^2}-\frac {a}{d^2 x}-\frac {b \text {sech}^{-1}(c x)}{d^2 x}+\frac {e \left (a+b \text {sech}^{-1}(c x)\right )}{4 d^2 \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}-\frac {e \left (a+b \text {sech}^{-1}(c x)\right )}{4 d^2 \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}-\frac {b e \arctan \left (\frac {\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {-1+\frac {1}{c x}}}\right )}{2 d^2 \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}-\frac {b e \arctan \left (\frac {\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {-1+\frac {1}{c x}}}\right )}{2 d^2 \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}-\frac {3 \sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{5/2}}+\frac {3 \sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{5/2}}-\frac {3 \sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 (-d)^{5/2}}+\frac {3 \sqrt {e} \left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 (-d)^{5/2}}+\frac {3 b \sqrt {e} \operatorname {PolyLog}\left (2,-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{5/2}}-\frac {3 b \sqrt {e} \operatorname {PolyLog}\left (2,\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{5/2}}+\frac {3 b \sqrt {e} \operatorname {PolyLog}\left (2,-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 (-d)^{5/2}}-\frac {3 b \sqrt {e} \operatorname {PolyLog}\left (2,\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 (-d)^{5/2}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 1.35 (sec) , antiderivative size = 1305, normalized size of antiderivative = 1.55 \[ \int \frac {a+b \text {sech}^{-1}(c x)}{x^2 \left (d+e x^2\right )^2} \, dx=\frac {-\frac {4 a \sqrt {d}}{x}+4 b c \sqrt {d} \sqrt {\frac {1-c x}{1+c x}}+\frac {4 b \sqrt {d} \sqrt {\frac {1-c x}{1+c x}}}{x}-\frac {2 a \sqrt {d} e x}{d+e x^2}-\frac {4 b \sqrt {d} \text {sech}^{-1}(c x)}{x}-\frac {b \sqrt {d} e \text {sech}^{-1}(c x)}{-i \sqrt {d} \sqrt {e}+e x}-\frac {b \sqrt {d} e \text {sech}^{-1}(c x)}{i \sqrt {d} \sqrt {e}+e x}-6 a \sqrt {e} \arctan \left (\frac {\sqrt {e} x}{\sqrt {d}}\right )+12 b \sqrt {e} \arcsin \left (\frac {\sqrt {1-\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \text {arctanh}\left (\frac {\left (-i c \sqrt {d}+\sqrt {e}\right ) \tanh \left (\frac {1}{2} \text {sech}^{-1}(c x)\right )}{\sqrt {c^2 d+e}}\right )-12 b \sqrt {e} \arcsin \left (\frac {\sqrt {1+\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \text {arctanh}\left (\frac {\left (i c \sqrt {d}+\sqrt {e}\right ) \tanh \left (\frac {1}{2} \text {sech}^{-1}(c x)\right )}{\sqrt {c^2 d+e}}\right )+3 i b \sqrt {e} \text {sech}^{-1}(c x) \log \left (1+\frac {i \left (\sqrt {e}-\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )+6 b \sqrt {e} \arcsin \left (\frac {\sqrt {1+\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \log \left (1+\frac {i \left (\sqrt {e}-\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )-3 i b \sqrt {e} \text {sech}^{-1}(c x) \log \left (1+\frac {i \left (-\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )-6 b \sqrt {e} \arcsin \left (\frac {\sqrt {1-\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \log \left (1+\frac {i \left (-\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )-3 i b \sqrt {e} \text {sech}^{-1}(c x) \log \left (1-\frac {i \left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )+6 b \sqrt {e} \arcsin \left (\frac {\sqrt {1-\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \log \left (1-\frac {i \left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )+3 i b \sqrt {e} \text {sech}^{-1}(c x) \log \left (1+\frac {i \left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )-6 b \sqrt {e} \arcsin \left (\frac {\sqrt {1+\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \log \left (1+\frac {i \left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )+\frac {i b e \log \left (\frac {2 i \sqrt {e} \left (\sqrt {d} \sqrt {\frac {1-c x}{1+c x}} (1+c x)+\frac {\sqrt {d} \sqrt {e}+i c^2 d x}{\sqrt {c^2 d+e}}\right )}{i \sqrt {d}+\sqrt {e} x}\right )}{\sqrt {c^2 d+e}}-\frac {i b e \log \left (\frac {2 \sqrt {e} \left (i \sqrt {d} \sqrt {\frac {1-c x}{1+c x}} (1+c x)+\frac {i \sqrt {d} \sqrt {e}+c^2 d x}{\sqrt {c^2 d+e}}\right )}{-i \sqrt {d}+\sqrt {e} x}\right )}{\sqrt {c^2 d+e}}+3 i b \sqrt {e} \operatorname {PolyLog}\left (2,-\frac {i \left (-\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )-3 i b \sqrt {e} \operatorname {PolyLog}\left (2,\frac {i \left (-\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )-3 i b \sqrt {e} \operatorname {PolyLog}\left (2,-\frac {i \left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )+3 i b \sqrt {e} \operatorname {PolyLog}\left (2,\frac {i \left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )}{4 d^{5/2}} \]
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 109.90 (sec) , antiderivative size = 1007, normalized size of antiderivative = 1.19
method | result | size |
parts | \(\text {Expression too large to display}\) | \(1007\) |
derivativedivides | \(\text {Expression too large to display}\) | \(1034\) |
default | \(\text {Expression too large to display}\) | \(1034\) |
[In]
[Out]
\[ \int \frac {a+b \text {sech}^{-1}(c x)}{x^2 \left (d+e x^2\right )^2} \, dx=\int { \frac {b \operatorname {arsech}\left (c x\right ) + a}{{\left (e x^{2} + d\right )}^{2} x^{2}} \,d x } \]
[In]
[Out]
\[ \int \frac {a+b \text {sech}^{-1}(c x)}{x^2 \left (d+e x^2\right )^2} \, dx=\int \frac {a + b \operatorname {asech}{\left (c x \right )}}{x^{2} \left (d + e x^{2}\right )^{2}}\, dx \]
[In]
[Out]
Exception generated. \[ \int \frac {a+b \text {sech}^{-1}(c x)}{x^2 \left (d+e x^2\right )^2} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
\[ \int \frac {a+b \text {sech}^{-1}(c x)}{x^2 \left (d+e x^2\right )^2} \, dx=\int { \frac {b \operatorname {arsech}\left (c x\right ) + a}{{\left (e x^{2} + d\right )}^{2} x^{2}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {a+b \text {sech}^{-1}(c x)}{x^2 \left (d+e x^2\right )^2} \, dx=\int \frac {a+b\,\mathrm {acosh}\left (\frac {1}{c\,x}\right )}{x^2\,{\left (e\,x^2+d\right )}^2} \,d x \]
[In]
[Out]